UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The SSH client must be configured to not allow gateway ports.


Overview

Finding ID Version Rule ID IA Controls Severity
V-22467 GEN005518 SV-46029r1_rule ECSC-1 Low
Description
SSH TCP connection forwarding provides a mechanism to establish TCP connections proxied by the SSH server. This function can provide similar convenience to a Virtual Private Network (VPN) with the similar risk of providing a path to circumvent firewalls and network ACLs. Gateway ports allow remote forwarded ports to bind to non-loopback addresses on the server.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2012-12-13

Details

Check Text ( C-43300r1_chk )
Check the SSH client configuration for the gateway ports setting.
# grep -i GatewayPorts /etc/ssh/ssh_config | grep -v '^#'
If no lines are returned, or the returned setting has a value evaluating to "yes", this is a finding.
Fix Text (F-39389r1_fix)
Edit the SSH client configuration and change or add the "GatewayPorts" setting to "no".